import request from '@/utils/request'

// 查询活动报名记录列表
export function listSlActivityReports(query) {
  return request({
    url: '/projects/SlActivityReports/list',
    method: 'get',
    params: query
  })
}

// 查询活动报名记录详细
export function getSlActivityReports(id) {
  return request({
    url: '/projects/SlActivityReports/' + id,
    method: 'get'
  })
}

// 新增活动报名记录
export function addSlActivityReports(data) {
  return request({
    url: '/projects/SlActivityReports',
    method: 'post',
    data: data
  })
}

// 修改活动报名记录
export function updateSlActivityReports(data) {
  return request({
    url: '/projects/SlActivityReports',
    method: 'put',
    data: data
  })
}

// 删除活动报名记录
export function delSlActivityReports(id) {
  return request({
    url: '/projects/SlActivityReports/' + id,
    method: 'delete'
  })
}
